#ifndef EMAIL_EXTENDEDDOMAIN_H
#define EMAIL_EXTENDEDDOMAIN_H

#include "Attribution.h"
#include "Domain.h"
#include "AddressLiteral.h"
#include "TCPInfor.h"

namespace email{

	class ExtendedDomain : public Attribution
	{
	private:
		Domain address;
		AddressLiteral addressLiteral;
		TCPInfor tcpinfor;
	public:
		Domain &getDomainRef() {return address;}
		AddressLiteral &getAddressLiteralRef() {return addressLiteral;}
		TCPInfor &getTCPInforRef() {return tcpinfor;}
		virtual void parse(QString str){}
		virtual QString toString(){return "";}
		virtual void toDisplayString(QXmlStreamWriter & writer){}
		virtual void toXMLString(QXmlStreamWriter & writer){}
	};
}
#endif